setup a ruby on rails 7 api with react